Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.platform.preview.actions--filters

This contribution is part of XML component org.nuxeo.ecm.platform.preview.actions inside nuxeo-platform-preview-5.8.jar

Extension Point

Extension point filters of component ActionService.

Contributed Items

  • <filter id="view_preview">
          <rule grant="true">
            <condition>#{previewActions.hasPreview}</condition>
          </rule>
        </filter>
  • <filter id="popup_view_preview">
          <rule grant="true">
            <condition>#{previewActions.documentHasPreview(document)}</condition>
          </rule>
        </filter>

XML Source

<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">

    <filter id="view_preview">
      <rule grant="true">
        <condition>#{previewActions.hasPreview}</condition>
      </rule>
    </filter>

    <filter id="popup_view_preview">
      <rule grant="true">
        <condition>#{previewActions.documentHasPreview(document)}</condition>
      </rule>
    </filter>

  </extension>